\begin{verbatim}
JUnit version 4.6
.Successfully connected to dname = systema, user = systema
Successfully connected to dbname = systema, user = systemaMySQL server using TCP/IP...
-------------------------------------------------------------
Тест №1. Удачный сценарий.
-------------------------------------------------------------
In message checker timer
Successfully connected to dbname = systema, user = systemaMySQL server using TCP/IP...
In message checker timer
Systema have got a message
FROM: systemb@chigorin-laptop, TO: systema@chigorin-laptop.localdomain, BODY: {"Quantity":10,"PayingSystem":"systemc@localhost.localdomain","Type":"newRequest","UserName":"user_1"}
Creating a new request
Successfully connected to dname = systema, user = systema
New request. Starting timer.
INSERT INTO Request(ID, PayingSystem_Address, User_Name, Quantity) VALUES (21,'systemc@localhost.localdomain','user_1',10)
In timeout1. N = 0
In message checker timer
In message checker timer
Systema have got a message
FROM: systemb@chigorin-laptop, TO: systema@chigorin-laptop.localdomain, BODY: {"ackOn":21,"Type":"ackSeller1"}
First ack from seller
Acknowledged by seller
UPDATE Request SET ackBySeller=1 WHERE Id = 21
In timeout2. N = 0
In message checker timer
Systema have got a message
FROM: systemc@chigorin-laptop, TO: systema@chigorin-laptop.localdomain, BODY: {"ackOn":21,"Type":"ackPayingSystem"}
Ack from paying system
Acknowledged by paying system
UPDATE Request SET Payed=1 WHERE Id = 21
In timeout3. N = 0
In message checker timer
In message checker timer
In message checker timer
Systema have got a message
FROM: user@chigorin-laptop, TO: systema@chigorin-laptop.localdomain, BODY: {"ackOn":21,"Type":"ackUser"}
Ack from user
Acknowledged by user
UPDATE Request SET AckByUser=1 WHERE Id = 21
In timeout4. N = 0
In message checker timer
In message checker timer
Systema have got a message
FROM: systemb@chigorin-laptop, TO: systema@chigorin-laptop.localdomain, BODY: {"ackOn":21,"Type":"ackSeller2"}
Second ack from seller
Acknowledged by seller
Before done state
In message checker timer
In message checker timer
In message checker timer
In message checker timer
In message checker timer
In message checker timer
In message checker timer
In message checker timer
In message checker timer
.Successfully connected to dname = systema, user = systema
Successfully connected to dbname = systema, user = systemaMySQL server using TCP/IP...
-------------------------------------------------------------
Тест №2. Оптовый поставщик не отвечает.
-------------------------------------------------------------
In message checker timer
Successfully connected to dbname = systema, user = systemaMySQL server using TCP/IP...
In message checker timer
Systema have got a message
FROM: systemb@chigorin-laptop, TO: systema@chigorin-laptop.localdomain, BODY: {"Quantity":10,"PayingSystem":"systemc@localhost.localdomain","Type":"newRequest","UserName":"user_1"}
Creating a new request
Successfully connected to dname = systema, user = systema
New request. Starting timer.
INSERT INTO Request(ID, PayingSystem_Address, User_Name, Quantity) VALUES (22,'systemc@localhost.localdomain','user_1',10)
In timeout1. N = 0
In message checker timer
In message checker timer
Systema have got a message
FROM: systemb@chigorin-laptop, TO: systema@chigorin-laptop.localdomain, BODY: {"ackOn":22,"Type":"ackSeller1"}
First ack from seller
Acknowledged by seller
UPDATE Request SET ackBySeller=1 WHERE Id = 22
In timeout2. N = 0
In message checker timer
Systema have got a message
FROM: systemc@chigorin-laptop, TO: systema@chigorin-laptop.localdomain, BODY: {"ackOn":22,"Type":"ackPayingSystem"}
Ack from paying system
Acknowledged by paying system
UPDATE Request SET Payed=1 WHERE Id = 22
In timeout3. N = 0
In message checker timer
In message checker timer
In message checker timer
Systema have got a message
FROM: user@chigorin-laptop, TO: systema@chigorin-laptop.localdomain, BODY: {"ackOn":22,"Type":"ackUser"}
Ack from user
Acknowledged by user
UPDATE Request SET AckByUser=1 WHERE Id = 22
In timeout4. N = 0
In message checker timer
In message checker timer
In timeout4. N = 1
In message checker timer
In message checker timer
In timeout4. N = 2
In message checker timer
In message checker timer
Before cancel state
In message checker timer
In message checker timer
In message checker timer
.Successfully connected to dname = systema, user = systema
Successfully connected to dbname = systema, user = systemaMySQL server using TCP/IP...
-------------------------------------------------------------
Тест №3. Пользователь отменяет заявку.
-------------------------------------------------------------
In message checker timer
Successfully connected to dbname = systema, user = systemaMySQL server using TCP/IP...
In message checker timer
Systema have got a message
FROM: systemb@chigorin-laptop, TO: systema@chigorin-laptop.localdomain, BODY: {"Quantity":10,"PayingSystem":"systemc@localhost.localdomain","Type":"newRequest","UserName":"user_1"}
Creating a new request
Successfully connected to dname = systema, user = systema
New request. Starting timer.
INSERT INTO Request(ID, PayingSystem_Address, User_Name, Quantity) VALUES (23,'systemc@localhost.localdomain','user_1',10)
In timeout1. N = 0
In message checker timer
In message checker timer
Systema have got a message
FROM: systemb@chigorin-laptop, TO: systema@chigorin-laptop.localdomain, BODY: {"ackOn":23,"Type":"ackSeller1"}
First ack from seller
Acknowledged by seller
UPDATE Request SET ackBySeller=1 WHERE Id = 23
In timeout2. N = 0
In message checker timer
Systema have got a message
FROM: systemc@chigorin-laptop, TO: systema@chigorin-laptop.localdomain, BODY: {"ackOn":23,"Type":"ackPayingSystem"}
Ack from paying system
Acknowledged by paying system
UPDATE Request SET Payed=1 WHERE Id = 23
In timeout3. N = 0
In message checker timer
In message checker timer
In message checker timer
Systema have got a message
FROM: user@chigorin-laptop, TO: systema@chigorin-laptop.localdomain, BODY: {"Type":"nackUser","nackOn":23}
Nack from user
Before cancel state
In message checker timer
In message checker timer
In message checker timer
In message checker timer
In message checker timer
In message checker timer
In message checker timer
In message checker timer
In message checker timer
Time: 51,355
OK (3 tests)
\end{verbatim}
